package com.jiangdong.craft.mapper;

import com.jiangdong.craft.entity.Procedure;
import com.jiangdong.craft.example.ProcedureExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface ProcedureMapper {

    List<Procedure> selectBatchById(@Param("list") List<Integer> ids);

    long countByExample(ProcedureExample example);

    int deleteByExample(ProcedureExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Procedure record);

    int insertSelective(Procedure record);

    List<Procedure> selectByExample(ProcedureExample example);

    Procedure selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Procedure record, @Param("example") ProcedureExample example);

    int updateByExample(@Param("record") Procedure record, @Param("example") ProcedureExample example);

    int updateByPrimaryKeySelective(Procedure record);

    int updateByPrimaryKey(Procedure record);
}